<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<meta content="email=no" name="format-detection" />
<title>运营分析</title>
<!--<link rel="stylesheet" href="../../css/hui.css" />
-->
<link rel="stylesheet" href="../../css/s_plus.css" />
<link rel="stylesheet" href="../../css/base.css" />
<link rel="stylesheet" href="../../css/layout.css" />
<link rel="stylesheet" href="../../css/choice.css" />
<script type="text/javascript" src="../../libs/vue.js" ></script>
<script type="text/javascript" src="../../js/jquery.1.9.1.min.js" ></script>
<script type="text/javascript" src="../../js/app/url.js" ></script>
<script type="text/javascript" src="../../libs/hui.js" ></script>
<script type="text/javascript" src="../../js/app/api.js"></script>
<!--<script type="text/javascript" src="../work/menu.js"></script>-->
</head>
<body>
<section id="wrapper" class="wrapper">
  <section class="pusher">
	<section class="sidenav sidebtn"><!--侧边栏-->
	  <!--<header class="f_l maxbox menu_top">
        <h2>admin</h2>
        <b>系统管理员</b>
      </header>
      <menu class="f_l maxbox menu">
        <ul>
          <li>
            <a href="terminal.html">
              <i class="iconfont">&#xe625;</i>
              <b>终端管理</b>
            </a>
          </li>
          <li>
            <a href="job.html">
              <i class="iconfont">&#xe61f;</i>
              <b>工单管理</b>
            </a>
          </li>
          <li>
            <a href="inspection.html">
              <i class="iconfont">&#xe685;</i>
              <b>巡检管理</b>
            </a>
          </li>
          <li>
            <a href="alarm.html">
              <i class="iconfont">&#xe604;</i>
              <b>告警展示</b>
            </a>
          </li>
          <li>
            <a href="fix.html">
              <i class="iconfont">&#xe617;</i>
              <b>主动定位</b>
            </a>
          </li>
          <li>
            <a href="system.html">
              <i class="iconfont">&#xe602;</i>
              <b>系统设置</b>
            </a>
          </li>
        </ul>
      </menu>
      <footer class="f_l maxbox menu_foot"><a href="login.html"><i class="iconfont">&#xe618;</i></a></footer>-->
	</section>
	<section class="mainbody"><!--正文-->
      <header class="f_l maxbox header">
        <a class="side_arrow f_l arrow_l" data-effect="sidebtn"><i class="iconfont">&#xe600;</i></a>
        <h2>运营分析</h2>
      </header>
      <menu class="f_l maxbox nav">
        <ul>
          <!--<li>
            <a @click="go(1);">
              <i class="iconfont">&#xe606;</i>
              <b>开锁</b>
            </a>
          </li>
          <li>
            <a @click="go(2);">
              <i class="iconfont">&#xe6e9;</i>
              <b>报装</b>
            </a>
          </li>
          <li>
            <a @click="go(3);">
              <i class="iconfont">&#xe658;</i>
              <b>施工预约</b>
            </a>
          </li>
          <li>
            <a  @click="go(4);">
              <i class="iconfont">&#xe639;</i>
              <b>终端设置</b>
            </a>
          </li>
          <li>
            <a @click="go(5);">
              <i class="iconfont">&#xe61e;</i>
              <b>终端升级</b>
            </a>
          </li>
          <li>
            <a  @click="go(6);">
              <i class="iconfont">&#xe602;</i>
              <b>设置</b>
            </a>
          </li>
          <li>
            <a  @click="go(7);">
              <i class="iconfont">&#xe65a;</i>
              <b>终端连接</b>
            </a>
          </li>
          <li>
            <a @click="go(8);">
              <i class="iconfont">&#xe607;</i>
              <b>终端休眠</b>
            </a>
          </li>-->
          
            <li v-for="item in menuList">
            <a  @click="nav(item.url);">
              <i class="iconfont" v-html="item.icon"></i>
              <b>{{item.title}}</b>
            </a>
          </li>
        </ul>
      </menu>
	</section>
  </section>
</section>

<script>

	//动态插入公用菜单JS
	var menuJsPath = "../work/menu.js?time=";
	 var randomh=Math.random();
     var e = document.getElementsByTagName("script")[0];
     var d = document.createElement("script");
     d.src = menuJsPath+randomh+"";
     d.type = "text/javascript"; 
     d.async = true;
     d.defer = true;
     e.parentNode.insertBefore(d,e);

	
		var sp = new Vue({
		el:"#wrapper",
		data:{
			menuList:[]
		}
		,
		mounted: function(){
				var yyArray = JSON.parse(localStorage.getItem("yyArray"));
					  // console.log("workMenuList-----"+JSON.stringify(workMenuList));
				this.menuList=yyArray;

		},
		methods:{
			nav:function(url){
				if(url!=null&&url!=""){
					hui.open(url+"?time="+apiManage.getNow(), {}, true, {});
				}
				else{
					hui.toast("正在开发,敬请期待..");
				}
			}
		}
	});
</script>
	
</body>
</html>
<!--侧边栏向左移动效果*该放在head无效-->
<script src="../../js/modernizr.custom.js"></script>
<script src="../../js/classie.js"></script>
<script src="../../js/sidebarEffects.js"></script>